package com.pc.scrs.bean.po;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import javax.annotation.Generated;

@Data
public class Users implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private Integer status;
    private String sign;
    private String mobile;
    private String avatar;
    private String name;
    /**
     * 用户权限列表
     */
    private List<String> permList;
    /**
     * 用户对应角色
     */
    private Role role;
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", status=" + status +
                ", sign='" + sign + '\'' +
                ", mobile='" + mobile + '\'' +
                ", avatar='" + avatar + '\'' +
                ", name='" + name + '\'' +
                ", permList=" + permList +
                ", role=" + role +
                '}' + "\n";
    }
}
